'Declaration<ExtensionAttribute()> Public Overloads Shared Sub SubscribeTarget( _ ByVal mapper As UAClientMapper, _ ByVal active As Boolean, _ ByVal targetObject As Object, _ ByVal mappingTagsPredicate As Predicate(Of IEnumerable(Of String)), _ ByVal recurse As Boolean _ )
'UsageDim mapper As UAClientMapper Dim active As Boolean Dim targetObject As Object Dim mappingTagsPredicate As Predicate(Of IEnumerable(Of String)) Dim recurse As Boolean UAMapperExtension.SubscribeTarget(mapper, active, targetObject, mappingTagsPredicate, recurse)
[Extension()] public static void SubscribeTarget( UAClientMapper mapper, bool active, object targetObject, Predicate<IEnumerable<string>> mappingTagsPredicate, bool recurse )
[Extension()] public: static void SubscribeTarget( UAClientMapper^ mapper, bool active, Object^ targetObject, Predicate<IEnumerable<String^>^>^ mappingTagsPredicate, bool recurse )
Parameters
- mapper
 - The mapper object that will perform the operation.
 - active
 trueto subscribe;falseto unsubscribe.- targetObject
 - The object being targeted.
 - mappingTagsPredicate
 - The operation will be performed only on mappings whose mapping tags satisfy this predicate.
 - recurse
 trueto operate on sub-targets (mapped members of the target) recursively;falseotherwise.